//封装本地存储存储数据与读取数据方法

//存储数据方法
export const SET_TOKEN = (token: string) => {
  localStorage.setItem('TOKEN', token)
}
//读取数据方法
export const GET_TOKEN = () => {
  return localStorage.getItem('TOKEN')
}
//删除TOKEN方法
export const DELETE_TOKEN = () => {
  localStorage.removeItem('TOKEN')
}
